home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: nologon@aol.com (Nologon)
- Newsgroups: comp.lang.c++
- Subject: MSVC++ 4.0 and linking error
- Date: 11 Feb 1996 10:24:09 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4fl1mp$56e@newsbf02.news.aol.com>
- Reply-To: nologon@aol.com (Nologon)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- Hi all,
-
- I'm trying to make use of the MSVC++ 4.0 libraries for multimedia
- (specifically, MIDI device accessing), which I have so far been assuming
- is the include file <mmsystem.h>. When including it, though, and making a
- call (midiOutNumDvs), I get linker error LNK2001, stating that it was
- unable to find __imp__midiOutNumDevs, a name that the help file says is
- generated fromt the original function call for use by the DLLs (? or
- something like that). The documentation said not to include the static
- libraries LIBC.LIB and LIBCMT.LIB when linking, so I removed them from the
- defaultlib, but it had no effect. Nothing I've tried has had any effect,
- in fact, so I'm getting strongly suspicious I don't understand at all how
- to get to these functions.
-
- Any suggestions / solutions?
-
- Thanks kindly,
- eric hackborn
-